func go.pact.im/x/plumb/internal/gotypes.typeDepthRec

14 uses

	go.pact.im/x/plumb/internal/gotypes (current package)
		unify.go#L155: 	return typeDepthRec(t, map[types.Type]int{})
		unify.go#L158: func typeDepthRec(t types.Type, depths map[types.Type]int) int {
		unify.go#L173: 		return 1 + typeDepthRec(u.Elem(), depths)
		unify.go#L175: 		return 1 + typeDepthRec(u.Elem(), depths)
		unify.go#L177: 		return 1 + typeDepthRec(u.Elem(), depths)
		unify.go#L179: 		return 1 + typeDepthRec(u.Elem(), depths)
		unify.go#L181: 		return 1 + max(typeDepthRec(u.Key(), depths), typeDepthRec(u.Elem(), depths))
		unify.go#L185: 			d = max(d, typeDepthRec(arg, depths))
		unify.go#L193: 			d = max(d, typeDepthRec(v.Type(), depths))
		unify.go#L196: 			d = max(d, typeDepthRec(v.Type(), depths))
		unify.go#L202: 			d = max(d, typeDepthRec(f.Type(), depths))
		unify.go#L208: 			d = max(d, typeDepthRec(m.Type(), depths))
		unify.go#L211: 			d = max(d, typeDepthRec(e, depths))